home *** CD-ROM | disk | FTP | other *** search
/ Best Tools for JAVA / Best Tools for JAVA.iso / JAVA_ALL / IDE / SUBARTIC / SUB_ARCT / LIB / EXCEPTIO.JAV < prev    next >
Encoding:
Text File  |  1996-10-04  |  1.2 KB  |  34 lines

  1. package sub_arctic.lib;
  2.  
  3. /** 
  4.  * An object which can be given to manager.handle_unexpected_exception() to
  5.  * perform a custom action when an unexpected exception is caught.
  6.  * @see sub_arctic.lib.manager
  7.  * @author Scott Hudson
  8.  */
  9. public interface exception_handler {
  10.   /** Do something in response to an exception.  Note that we don't allow
  11.    *  this to throw a different exception (but it could throw an error).  
  12.    *
  13.    * @param Exception ex the unexpected exception that has been caught.
  14.    */
  15.   public void handle_exception(Exception ex);
  16. }
  17.  
  18. /*=========================== COPYRIGHT NOTICE ===========================
  19.  
  20. This file is part of the subArctic user interface toolkit.
  21.  
  22. Copyright (c) 1996 Scott Hudson and Ian Smith
  23. All rights reserved.
  24.  
  25. The subArctic system is freely available for most uses under the terms
  26. and conditions described in 
  27.   http://www.cc.gatech.edu/gvu/ui/sub_arctic/sub_arctic/doc/usage.html 
  28. and appearing in full in the lib/interactor.java source file.
  29.  
  30. The current release and additional information about this software can be 
  31. found starting at: http://www.cc.gatech.edu/gvu/ui/sub_arctic/
  32.  
  33. ========================================================================*/
  34.